import axios from "axios";

const myAxios = axios.create({
    // 基础请求路径
    baseURL: '/api',
    timeout: 1000,
    headers: { 'X-Custom-Header': 'foobar' }
});

// 导出
export default myAxios;